Would you mind sharing the solution @Pixalab?
Post
Replies
Boosts
Views
Activity
Any update on this @Pixalab?
Is your Data Entitlement Protection level set to NSFileProtectionComplete?
We've tried using isProtectedDataAvailable. Sadly no luck.
Edit: I've replied below to preserve formatting
cc @mycool @ios-mediafly
Thank you so much. This fixed our issue. I'll make sure to link your answer in all existing threads, as there are a few of them.
More info:
In one of our apps, in application(_:didFinishLaunchingWithOptions:), based on what flags in UserDefaults are set, we either present the main dashboard OR do a complete cleanup (UserDefaults + Keychain) and present the login screen.
In our case, Data Protection Entitlement was indeed set to NSFileProtectionComplete years ago. This, combined with Prewarming caused the issue in our case.